package com.dd.census.service;

import java.util.Map;
import java.util.List;
import com.dd.census.entity.*;
import com.dd.census.tools.excel.test.DemoEntity;

/**
 * 业务层
 * AttendanceService
 * @author whn
 * @date 2021/02/20
 */
public interface AttendanceService {

    /**
     * [新增]
     **/
    int insert(Attendance attendance);

    /**
     * [更新]
     **/
    int update(Attendance attendance);

    /**
     * [删除]
     **/
    int delete(Attendance attendance);

    /**
     * [主键查询]
     **/
    Attendance selectByKey(String key);

    /**
     * [条件查询]
     **/
    List<Attendance> selectList (Attendance attendance);

    /**
     * [分页条件查询]
     **/
    Map<String, Object> selectPage (Attendance attendance);

    /**
     * [总量查询]
     **/
    int total(Attendance attendance);

    /**
     * [总量查询]
     **/
    int excelImport(List<DemoEntity> list,Attendance attendance) throws Exception;
}